package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingLevelDto;
import com.zzyl.vo.NursingLevelVo;

import java.util.List;

public interface NursingLevelService {
    /**
     * 查询所有狐狸等级
     * @return
     */
    List<NursingLevelVo> ListAll();

    /**
     * 新增护理等级wu
     * @param dto
     */
    void addLevel(NursingLevelDto dto);

    /**
     * 分页条件查询
     * @param name
     * @param status
     * @param pageNum
     * @param pageSize
     * @return
     */
    PageResponse<NursingLevelVo> queryPage(String name, Integer status, Integer pageNum, Integer pageSize);

    /**
     * 根据id查询
     * @param id
     * @return
     */
    NursingLevelVo queryById(Long id);

    /**
     * 修改护理等级
     * @param dto
     * @return
     */
    int updateById(NursingLevelDto dto);

    /**
     * 根据id删除
     * @param id
     * @return
     */
    int deleteById(Long id);

    int updateStauts(Long id, Integer status);
}
